package com.qingke.beSuper2;

public class too {

	public static void main(String[] args) {
		
		int[] a = {2,3,4,5,6,4,9,6,7,6,1};
		for(int b =0;b<a.length;b++){
			if(a[b]>a[b+1]){
				int temp =0;
				temp = a[b];
				a[b] = a[b+1];
				a[b+1] = temp;
			}
		}
		System.out.println(a);
	}

}
